<template>
  <footer v-if="!isWebview" class="footer">
    <div class="_1cSWM">
      <div class="_2pub-">
        <a href="/" target="_blank">首页</a>
        <a>{{ siteInfo.web_owner.value }}&nbsp;{{ siteInfo.web_owner.title }}</a>
      </div>
      <div class="_2pub-">
        <a :href="siteInfo.icp_url.value" class="_3u0xt" target="_blank">{{ siteInfo.icp.value }}&nbsp;</a>
        <a :href="siteInfo.beian_url.value"  class="_3u0Ot" target="_blank">{{ siteInfo.beian.value }}</a>
      </div>
    </div>
    <Backtop />
  </footer>
</template>

<script>
import Backtop from '@/components/backtop.vue'

export default {
  components: {
    Backtop
  },

  data () {
    return {
      data: {}
    }
  },

  computed: {
    isWebview() {
      return this.$store.state.isWebview
    },
    siteInfo() {
      return this.$store.getters.siteInfo
    }
  }
}
</script>

<style lang="less" scoped>
@import '../assets/css/footer.less';
</style>
